/**
 * 
 */
package com.wordpress.sharebyblog.world.domain;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Bharat Mehta
 *
 */
@XmlRootElement(name="worldServiceResponse")
@XmlAccessorType(XmlAccessType.FIELD)
public class WorldServiceResponse<T> implements Serializable {
	@XmlElement
	private T response;

	/**
	 * @return the response
	 */
	public T getResponse() {
		return response;
	}

	/**
	 * @param response the response to set
	 */

	public void setResponse(T response) {
		this.response = response;
	}

	public WorldServiceResponse(T response) {
		super();
		this.response = response;
	}
	
	
	
	

	public WorldServiceResponse() {
		super();
		// TODO Auto-generated constructor stub
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("WorldServiceResponse [response=");
		builder.append(response);
		builder.append("]");
		return builder.toString();
	}
	
	
   
	

}
